xsm: Add getenforce and setenforce functionality to tools
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:05:15 +0000 (10:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:05:15 +0000 (10:05 +0100)
commit0dba100da61528c1d36844a00ba2676b4712aa67
tree82a83ca3db2728185d0c1636d04cba3e47bf261b
parent545a227dfc099af8b17b6842e097196192658c3e
xsm: Add getenforce and setenforce functionality to tools

This patch exposes the getenforce and setenforce functionality for the
Flask XSM module.

Signed-off-by : Machon Gregory <mbgrego@tycho.ncsc.mil>
Signed-off-by : George S. Coker, II <gscoker@alpha.ncsc.mil>
15 files changed:
tools/flask/Makefile
tools/flask/libflask/flask_op.c
tools/flask/libflask/include/flask.h
tools/flask/loadpolicy/Makefile [deleted file]
tools/flask/loadpolicy/loadpolicy.c [deleted file]
tools/flask/utils/Makefile [new file with mode: 0644]
tools/flask/utils/getenforce.c [new file with mode: 0644]
tools/flask/utils/loadpolicy.c [new file with mode: 0644]
tools/flask/utils/setenforce.c [new file with mode: 0644]
tools/python/xen/lowlevel/flask/flask.c
tools/python/xen/util/xsm/flask/flask.py
tools/python/xen/xend/XendXSPolicy.py
tools/python/xen/xm/getenforce.py [new file with mode: 0644]
tools/python/xen/xm/main.py
tools/python/xen/xm/setenforce.py [new file with mode: 0644]